Kotlin utilities
/
it.czerwinski.kotlin.util
/
Failure
/
toOption
common
to
Option
open override fun
toOption
():
Option
<
Nothing
>
Content copied to clipboard
Converts this
Try
to
Option
.
Return
None
if this is
Failure
or
Some
if this is
Success
.